﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcCaja.Dal.Models;

namespace MvcCaja.Core
{
    public class MesaService
    {
        public List<Mesa> obtener()
        {

            ModelDataContext db = new ModelDataContext();

            return (from n in db.Mesa
                    select n).ToList<Mesa>();
        }
    }
}
